package com.attendance.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.*;

import java.sql.Date;

/**
 *
 * @Student  学生表
 *
 * */

@Data//生成get/set方法
@AllArgsConstructor
@NoArgsConstructor//生成无参构造
public class Student {

  private long stuId;
  private String stuNum;
  private String stuPwd;
  private String stuName;
  private long stuAge;
  private String stuImg;
  private String stuSex;
  private long classId;
  private String stuPhone;
  private String stuIdentity;
  private String stuMail;
  private long stuStatus;
  private long graduation;
  @JsonFormat(pattern="yyyy-MM",timezone="GMT+8")
  private Date admissionDate;
  @JsonFormat(pattern="yyyy-MM",timezone="GMT+8")
  private Date graduationDate;
  private String projectRole;

}
